package com.dragon.refect.clazz;

import java.util.ArrayList;

/**
 * @author dragon
 * @since 2019/11/30
 */
public class Person<T> {

    private String name;

    private Integer age;

    private T entity;

    public ArrayList<String> arrayList;

    public static String h;

    static {
        System.out.println("Person static init");
    }
    public Person(String name, Integer age) {
        this.name = name;
        this.age = age;
        System.out.println("public Person name and age constructor init");
    }


    private Person(String name) {
        this.name = name;
        System.out.println("private Person constructor init");
    }

    public Person() {
        System.out.println("Person non-parameter constructor init ");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public static void g() {

    }

    public Object e() {
        return "";
    }


}
